Don't update the diff distances unless a new frame has been captured.  In dark scenes the distance metric doesn't work?  Or is there a bug?  The amount of live distance is always low in the dark.