Fixed a bug with code highlighting to do with \r\n.
Fixed a bug with step sometimes not resetting the state of the system
to paused after playing a bracket.