toggle added to change rate/angle mode from GUI.
Changes needed in Arduino code.