Better UI, leastFactor fix, coprimes and distinct factors, legend