NPCs magically know where you are. Friendly NPCs can find you even if you change z-levels and pop up somewhere else. Hostile NPCs can follow you even in perfect darkness even if you follow a convoluted path, close doors, etc. It could be nice for this to work closer to the way dogs follow you in the dark.
This is one of my biggest pain points trying to deal with NPCs personally.