NPC editor and NPC rendering improvements