preserving state of notebook, with s, all old calcs, and cloud statistics