fix comment. construct dictionary more simply.
fix unrecognized step command (print '?' and try again).
fix EOF handling in stepinput (clean-up stack for resuming after db-error).