Send document version when pushing changes so server can detect conflicts.
Small fix to example app: sync to localhost not machine IP.
Use IndexedDB transactions while modifying documents to prevent corruption of document metadata.