Mod functionality, chat fixes