add setting, resetting events before state changes

change set, reset events to fire after state changes
version bump