Fix problems when BBDB is not present and gnorb-bbdb is not loaded.

I'm experimenting with gnorb but have BBDB 2 installed, and therefore don't want to try gnorb's BBDB integration.  I don't load gnorb-bbdb, but still have to make the following changes to run gnorb without errors.

I hope that you find the patch useful.
(Sorry for the delay, getting back to this...) I see what you mean, but I meant for this function to also be usable interactively. If someone doesn't want this popup automatically, but does want to call it up manually from time to time, they can call the command directly. So I'd still rather keep this in there.