Added events.html et al. to demonstrate scanstart and scanend events.  Needs polishing.