Fix updating

Debounce `'contents-changed'` updates; set `@updating` to `false` when
PDF.js fails
Fixes #41