[M] Change in pysim[master]: pySim-shell: rework startup procedure and introduce headless mode