open_spritz rewritten
onEnd
with some bug fixes
Add getter for state. (started/stopped) and Hooks (onstart, onstop, onupdate)