made the pathfinder ansynchronous

- fixed map reset