Refactored the common ChatMCAM code out of InternalChat