Standardise names on Pubring instead of PubKey
Add a test message generator and use it to find the horrible bug that was corrupting all outbound messages.