NPC spawning and despawning