Mainwindow commit