Update to new version of PDF.js which fixes issues on Safari. Fixes #270
Capture errors while processing publications. Even segfaults.
Updated publication schema.
Removed debugging print.
Correctly detect invalid state.
Improved signal handling.
Merge branch 'master' into new-annotations-editor