routes, polylines and profiles all tidied up. visibility controls working