Updated block submit to check for new block

* Should address issues in #21
* Should cut down on orphan blocks
* More accurate stale share accounting after a block was submitted