Command-prompt improvements

* Prevented command prompt output from stacking (requiring multiple `esc`'s to get back to the game)
* Made newline characters in command output create line breaks