Manage history (crtl-[shift-]Z)