Active Flag & Reset added

*0. disables; *1. activates, *2. resets the pattern and loopCount