Minor fixes

* Can't move to a line past EOF
* Escape HTML in the file
* Scroll the page as you move the cursor