Cleaned up RobotMain.