Fixed scrolling to caret after pressing enter.
Now pasting plain text rather than HTML. Also made loading faster, and made loading not fail if MathJax is unavailable.
Fixed bug where only lowercase extension .tc was ever accepted.
Fixed small problem with error message formatting.