bmw optimization, nonce overflow checks, fix hash rate stats