scripts/shell: runner: improve commenting, logging; read stages into array; implement action list editing.