improved prefs dialog