Finished design implementation of main window