Added a button to the main window to open the settings. Closes #2.