Multiple improvements to the Recorder and Recorder Mode
This resolves the following tickets:
Also refresh the following Python dependencies:
setuptools>=58.5.3;python_version>="3.6"
py==1.11.0;python_version>="3.5"
prompt-toolkit==3.0.22;python_version>="3.6.2"