Improve the prefs dialog