fix interrupt logic for IPython >=1.0, closes #76