Check for chat room window on muc events, log error when doesn't exist

issue #341