Allow edits on the zeroth line
Don't provide a filename on stdin reads
Optimize buffer redrawing

Only redraw the whole screen when necessary.

You can explicitly force a redraw with <ctrl-l>

Also, protect the topline field on buffer
Syntax highlighting and position tweaks