Catch error when the creation of localStorage polyfill fails in the generic viewer
Refactor how the database is read in ViewHistory
Merge pull request #4705 from Snuffleupagus/ViewHistory-refactor-read

Refactor how the database is read in ViewHistory