clean up a few crashy things and some missing ai mutex bits
lots more ai work.  
combat orders (patrol orders) are working / patrolling as should be.  
change ordering of npc-move-home task to be below work / patrol / get
food, as it could interfere with those tasks.