Thanks for the excellent example. It really helped me get started with themes.
One thing to note. I noticed in your example that you used a Text element to draw a line by setting the height to 2 and setting a background color.
As an alternative one could use the Static element to accomplish the same thing. Could you tell me if there is a down side to using Static instead of the Text element.
<Static X="158" Y="-45" Width="500" Height="2" Visible="yes"></Static>