create MainStatus
improve mainwindow