* Interpret leading semicolon correctly as a single command. Do not treat it as a delimiter.
 * Track current write output styles properly. This fixes various color glitches noticed in the game.
 * Correctly replace all occurrences of special HTML characters.