Issue #887/#888

The PR includes fixes for #887 and #888 (file vesron).
1. the next test isn't working for me.  I always get "false" , regardless of if the preference window is true or false.  Could it be looking at a different preference?  Or could it be called before the preferences have loaded?
2. Preference store does have a boolean accessor:  getBoolean(name, default)  Using that method would remove the checking and type conversions.