Tweaked line and distance display. Added jQuery UI slider.