Switch KML export to bg task system
Merge pull request #215 from LocalData/kml-export

Switch KML export to bg task system