Fixed creatures not buffing themselves with AI spells.
Fixed creature mana regeneration.
Fixed a bug where players area info would not update accordingly after teleporting from one map to another.
Server preloading will now preload all map tiles if higher than 0, and will activate all cells when set to 2.
Rewrote target height checking, and moved it to target updating.
Improved target generation when finding targets for AI spells.
Rewrote Mutex functionality.
Renamed functions in AI.