Adding ability to dump state to allow us to see what is happening during processing.