catch empty private keys before converting to random public key
Merge branch 'master' of github.com:puffball/freebeer