added infolabel to mainwindow