TrimSpace for commands
move running miner status updater to Miner struct, so we dont need another pointless mutex.
catch stdout and stderr.