Main window now remembers its size upon next start.