Work in progress group chats.

Not done yet.
Base of group chats seems to be working now.
Merge branch 'group-chats'