Clean up how message filtering by room is done, and implement case-insensitive name comparison.