Managing data analysis through save-states