Update README with info about the control util.
Add missing check to not go out of bounds.