Merge pull request #23 from dave-andersen/master

Overhaul of threading in simpleminer to improve concurrency.
Possible fix for restarts and invalid share errors