changes in mainwindow and taskwindow