Hooked up the ability to switch travel mode for directions.
Added close button to directions panel.