more improvements!

less random fleeing
-attacking and dying now work
-improvements to aicontroller under the hood