included a few bitcoinkit fixes