PM handling actually works
Add support for auto-invites
Migrate most commands to new system