Updated Frame object with new methods to determine current frame, next frame, and next next frame