Fixes #70, issue with crashes in KML creator