added title to main window