added .release() and .destroy()

Added methods to remove the child reference from the window Object, and
added a method to the child that allow for self destruction.