insert a dummy document instead of polling for the latest document
emit error message if cursor breaks
Merge pull request #14 from kof/dev

insert a dummy document instead of polling for the latest document