Changes to main window