fix up pathfinding due to odd issue with std::vector in emscripten
remove uneeded logging