added QMainWindow and status bar. Program works