Polish and lots of it.  Looks good in Firefox, still some weird glitches in Webkit.
One more refinement to tblgen.py: inline the style and script.