Added identicons based on public key when adding new contact.

Also fixed a derp with cases.