set main window to resizable = false