Changed jobgenerating fuction to no longer be recursive. This is sufficient when we only have explorers and no active enemies.
Fixed sharing of traversed edges.