Major refactor of ChatModerator

## Things Changed:

**Edit**: See individual commit messages, this list got too long.

______________

Tested and built, everything works as intended.