Added control of motor fault conditions.