Modify tutorial to correctly handle early polylinecomplete events.
Merge branch 'master' into production