added icon and title to main window