small bug fix in recorder and setting persistency for pupil detector.