adapted error messages
cleanup PGP class
added safety assertions
fixed bug when thread has no receiver
added confirm dialog when changing JID of user