saving state - threading macro animation stuff