fix picking coinbase addrs.
more debugging work.