refactor for threading

Clear() was moved to Miner::miningHistory() (which needs mutex). This is inconsistent with how m_mineProgress is updated however the design of miningHistory only allows for one consumer and the code continues to reflect that (vs chained clear()). Long-term I'm expecting a refactor to support multiple mining threads and continuous mining (vs 100ms) so this change is to keep it simple.