Popup Cleanup, CreateInstance<>, FindParent<>

various cleanup tasks, Generic versions of some find and create
functions