Added changes to the main window