trigger events on reset and complete

Fixes issue #177