Added most changes according to PTS pull requests

1) Miner threads not limited to 3
2) Private key import fix
//TODO

Test build, stake

add coin control

check if genesis blocks are generated