Simplify the prefs code
Add pref to show/hide desktop notifications #74