Small refinements to RecordingThread.