Ai can now track the player when in attack area.

smarter ai, faster gameplay.  Couple of bugs fixed and some enemy code
optimisations.