More Sub and Supers

Reworked the engine for creating automatic Subscripts and Superscripts
(moved away from <html>) and worked on ironing out the bugs.