removed main window