Add support for recording the main window's location and size, then restoring at the same location/size when the application is next started.