Don't allow contacts with empty names.

Fixes #20.