added 'countdownstopped' event and tweaked demo.