cleanup
displaying the total distance in the mac UI