Whhooot. continueOnError is the first bit

Also improve test to make sure we don't alter the original argument,
only our internal ones
What happened here? Fix argument order
Fix reference counting leading to memleaks
We no longer ignore the fact the user was trying to do a safe write
Merged pull request #365