Fix vertical scrolling and make window resizable
Completely prevents the cursor from walking offscreen. Also fixes several crashes when pressing 'z'. I still don't understand how those are supposed to work anyway, but allowing the cursor to go offscreen is never a good idea.
Showing with 24 additions and 9 deletions