(flight) code style changes.
(flight) fix clearCompleted bug.
Merge pull request #616 from stephenplusplus/flight-bug

(flight) bug with clearCompleted.