added debug output to maze_navigator