Ensure that the viewer loads even if there are errors when the preferences are read

While trying to debug #4690, I stumbled on another issue.
Currently if e.g. `Preferences._readFromStorage` fails, the PDF document will fail to load. This PR adds missing rejection handler functions, to avoid this issue. (I assumed that it was best to handle this on the callee side.)