joined -> jid
Commit changes
Remove unused static response
Add checks for message module loaded, cleanup, rename some variables, etc.