Changed main window.