Ui tweak to hide main form when settings are displayed.