Fixed error in opening profile; fixed tracking of npc and location (including redirects and multiple step paths) in path selection.