guess this is ok
fixed invalid blocks being sent caused by bad job being sent to miner and some log function cleanups