Greatly simplified code for syntax highlighting. Began work on a better system for syntax highlighting/text detection.