Fixed miner starting from the client
Merge pull request #41 from lingow/StartMiner#39

Start miner#39