Refining start/stop logic, adding reset.