Added better tabs, distance code & improved button off (although not working)