Fix handling of tabs and lines in code
Simplify token name lookup
Remove trailing space on lines
Add stylesheet.

I forgot to add this earlier.