made progress with ai load / save, for #1921