global VERBOSE and output of frame index for simpler bad area identification