pdLastUsedSettings: mirror recent localization fixes from the command bar

pdLastUsedSettings is used on forms that need to retain last-used
settings, but that don't use the command bar to do so.  (The command bar
has its own last-used settings detection, which requires special
handling relative to user presets).

At present, the main use of this class is the Tools toolbox.