Removed debug cancelEvent, minor change to threshold timer accuracy