Frame_done now clears counter.