Fix bad var name leading to premature stop event.
Merge pull request #81 from mapbox/fix-stop

Fix bad var name leading to premature stop event.
5.1.2
Merge branch 'master' into serialize