Also save and restore command history.
Do not save session when in strip.