Fixed virtualenv initialisation order and added pop-global mark to Python key bindings.