delete statusbar fix

Changed line 14: 'statusbar = window.statusBar()' to 'statusbar = QtGui.QStatusBar()'
added line 42: 'window.setStatusBar(statusbar)'