This version does not crash.
Added blank frames to recording of RLS.