code bugfixing, preparation for video recording.