* fixed bug where trailing newline resulted in a non-navigable line that also messed up scrolling

* leaving insert mode shifts cursor one tile left