Almost completed Plot Prefs dialog coding