Added the TitleComponent to the main window