added groupchat actions
small fix
Fixed comment.
Code cleanups.

No functionality changed.