! Make sure preferences actually exist before trying to do something with them (partial fix for #1941)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #1973 from Oldiesmann/release-2.1

! Make sure preferences actually exist before trying to do something wit...