Migrated miner creation to background page