Main window now remembers its position upon quitting.