added npc ai for all lifeforms, improved intelligence, changed wavemanager to support different npcs