TrinityChat: Use proper define and some cleanup.