Prevent server error if PGP module could not be loaded.

-e.g. if gpg path is wrong.
Fixed search button.