New distance calculations, tweaks to IdleCR().