Added a title to the main window