Cleanup

After the updated utxo selection process, some of the old code related to coinbase is no longer required.

Also re-used `safeClose` and fixed hang when `a.utxo` receives and blocks.
OK, I tested by putting a timeout and it didn't anything wrong so I assumed it would be fine. I'll remove this commit for the moment.