Updated the main window layout