fixed searchCell comparison function to minimize path costs, added bool to finally disable exploration
removed old code