daily commit

1) fix timer a/b event count mode inaccuracy
2) add sound support (taken from my routines for jsspeccy)
ie compatibility fixes