main window commit