Added activeState and associated state definitions, removed launched flag