Make it possible to suspend the doc thumbnail worker in order to open a document

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Also pause the doc thumbnail worker when opening a page

Signed-off-by: Jerome Flesch <jflesch@gmail.com>