Use cgsem structures instead of the flaky pings in the work queue to start mining threads and remove the unused thr_info_freeze function.