Updated the integrator so that when doing a full integration, it tracks inserted object ids, and then deletes any objects that are never referenced.
Refactored code to delete unreferenced objects in a full integration.