Cleanup.

Moved some code into seperate files for more structured code. Enabled
syntax highlighting. Worked on ajax comments although not working quite
yet. Added error popup temporarily.