Changed event time scale to milliseconds, and added some comments to the
event code.