changed main window layout
changed main window layout