Restores initial terminal size on exit

Also performs cleanup of Unicurses' mess with a call to clear or cls.

*This should probably be disabled as it makes debugging more difficult
(error messages are erased).

could redirect them to a log file,
and have a dev console ingame for my own debugging