Debug statements when writing
Debug output when accepting contents operations
Merge pull request #57 from anchor/more-debug

More debug statements in writer, when writing