Detect escaped backslash
Add generic GetPreference and GetPreferenceList