Format miner widget text and some cleaning up