Added UserDefaults support for 3 settings. App when run without files will either open in the dock and show the preferences window, or in the statusbar with no window shown (don't understand why yet).