I figured out a (non-optimal) solution: just eliminate the
'RenderPreferencesForm' hook setup. The 'UserToggles' hook is enough.
This puts the preference on the Misc tab instead of a custom "My Tab"
tab.
The problems occurred because the checkbox was appearing on both the
Misc and My Tab tabs, so the form submit had 2 values for the
preference.
DanB