save and restore methods for TreeProgress; resolves #7; resolves #8