fix examples broken by recent event wait/clear changes
Merge pull request #13 from olsonse/master

fix examples broken by recent event wait/clear changes