Buttons in settings window now listen to events and do their respective action, cannot test browse though because of issue #301