New diagnostics, automatic gpg-agent

- Print out what's being processed
- Start/stop gpg agent if GPG_AGENT_INFO is not set