AI fixes
AI fixes; Checkpoints and NPCs reimplemented