Settings dialog no longer disappears when hitting Esc.
Added a url() function to SettingsDialog as a workaround for the traceback encountered when switching tabs.