Prevent infinite loop in CFFParser_parseHeader
Merge pull request #4473 from Snuffleupagus/bug-866395-partial

Prevent infinite loop in CFFParser_parseHeader
Rewrite 'Preferences' to make it async
 Add preference to automatically enable the Hand Tool when the viewer loads