Fix handling of counts and of counted X and x.
Add ghetto syntax highlighting.