StateManager now manages the active StackMachine