* Fixed context menu breakge after previous commit. * Cleaned up _event_filter_keypress.
* Fixed context menu breakge after previous commit.
* Cleaned up _event_filter_keypress.

ipython/ipython,ipython/ipython