Refactored code to delete unreferenced objects in a full integration.
Refactored code to delete unreferenced objects in a full integration.

ChronicStim/ensembles,drewmccormack/ensembles,ChronicStim/ensembles,drewmccormack/ensembles,realmacsoftware/ensembles,realmacsoftware/ensembles