fixed problem with getting tss id value for autodisown pool
autodisown works now. just needed to allocate space for the list of autodisowned primitives.
updated example to use autodisown