Changed window size to 800*600
Added ability to save settings
Added custom exit handling.

Made settings save on exit.