Size and position of main window saved and restored. User prompted
before exiting the application.

Bug: some imports don't work when the program is run from inside Eclips.