More stable, but uglier video state change detection