Deflicker (port from Magic Lantern): WIP