more sanity checks on room names and messages