Waypoints now use average of their before/after directions for their angle.

This greatly improves the dubin-ness
MapGraphics changes
Made DubinsLine more efficient and less buggy
Changed default turning radius to 30m from 38m
Wayset was returning bad local address on error
SubFlightPlanner now uses dubins
Added code to store/restore window state to PlanningCommon
Both main guis now use the common window state code