quit IPython/minor corrections