Image saving now also logs whether the stimulus is first/last frame