added enable, disable and reset events, fixes #1131