Be a little safer with objects in the queue.

Previously, the state written would prevent the working of later batch attempts.
We should put together some form of reporting about the batch queue...
Prevent a warning.
Merge pull request #3 from adam-vessey/7.x

Flag errored objects and prevent a warning.