Bug in the reset button was being clicked each cycle and made the algorithm lose track of previous unexplored paths.
Corrected, the list of unexplored paths is never reset, except witht the button of course.