rough commit to get functioning miner tested (output is ugly, and i think a status line is printing blank)