Merge pull request #24 from dave-andersen/master

Making simpleminer more robust to scratchpad sync errors
More robust failure masking - complete miner restart after 10 submission failures