Handle esc abort codes
Removed unused variables in screen_data

The margins are handled by the cursor
Sort out the cursor when resizing

margins should be reset