Fixed shutdown bug
Added operation enabled/disabled callbacks to DS machine