Fix frame changes.

This issue rears its head yet again.

--BRJ and CAR
Extra short and 'long' twirls in RBT

Also fix a zero/one indexing problem.

--BRJ and CAR