Add index to frame state
Use index instead of time as frame marker
Merge pull request #564 from twpayne/frame-index

Frame index