added title to the main window