I think it's all coming together now. There are still a few bugs. Those extra closing braces I pointed out several days back are still occurring even though they have content this goround. So I just clipped them.
Also would like to know how I get the proper header back in my received emails rather than what's shown here.