distance in meters + cleanup

bit of code/import cleanup, and display the estimated distance to the
beacon in meters