Statusbar with distance info

Added a statusbar that for now contains distance information when using
the ruler tool