snapshot save/restore early prototype for gdlAjax