Update runstate.py

changed from a single numeric state to a dual boolean state
added pause property, toggle, and event