Fixed GUI for 24x80 terminal.

Give it a test before merging to make sure it actually does work.