MUC fixes

Various fixes to multi user chat.