Changing gesture code to use RobotControl as the task context.

Attempt number 2.