update mission assistant to insert a takeoff with the same altitude as the first spatial waypoint.
fixed editor crash bug occurring when deleting all waypoints (by long-clicking the trash can) when a waypoint detail window is opened.
Merge pull request #1240 from ne0fhyk/fix_editor_bugs

Fix editor bugs