Fix annotation duplication.
Even though there is only one annotation object in the database it is showing two annotation objects on the screen.
Fix page reorder causes file corruption.
It is sending bytes=0 when making the API call after you reorder the pages. The next time you try to open the document it fails because file size = 0.