Release references to Document object on closed event; stub out placed and comps references in document; add smartObject property to Layer (instead of just SmartObjectLayer)