Some improvements in the Distance Measurer Tool (see issue #53)