WIP
Smart current keyframe detector