startup sets option.shell with default shell. Not yet used.
simplify mainloop's calling of 'step'