Catch all exceptions when loading Preferences
Fix ssh.