AI server: cleaned up some of the NPC behavioural-type logic.