added better frame seek, pauseAtEnd, and pauseAtStart