more untested FileWatcher code
PDF: fix updating documents with xref streams
wake up watcher thread after adding/removing files to watch