BF: compatibility with wx3.0 - preferences dlg needed keyboard accelorators to quit
BF: wx compatibility - fixed issues with LoopDlg and SettingsDlg. Fixes #615