Main window done

scaleable grid mainwindow completed