save/restore window geometry
ipython gtk3 fix