First of many updates to savehist