Modified keyboard controlling so that the keyboard
can also cycle through the robots and set various modes.