Removed boost dependency.
Corrected use of the make_pair<>() function.
Fix out-of-bounds array access with NPCs.
Fixed potential problems when adding bots.