Remove an unused parameter from the setTracks method call.
Increase the default max tracking point interval time to 30sec - flying with this setting yields a less cluttered KML file when in steady state flight.