groupchat.erl : misc changes