feature-unknown-pref-warnings

This addresses #1296.  Should be fairly self-explanatory; see comments on that thread and commit messages for details.