robotMotorGui fix to handle control modes