make the main window unresizeable