Automatically showing the mainwindow maximized.