Set up basic UI of the main window