Renamed main window and added controls.