delete the main window files