Ported all useful features from MobArena over to TFM.

As requested, I've ported all of the useful features from Wilee's WileeManage into TotalFreedomMod.
Always use `.equals()` instead of `==` for objects.

Please use `sender_p` here.