Fixing the sleep in waiting for video recording to stop. For some reason the timeout is factionally slower in CLI vs IDE
Adding an error message if use tries to start video recording on a headless OS