Minor fixes for logging and video recording.