optimization in Node::hierarchyChanged, no need to dirty transform for all children on this event
added diagnostic message and debug break for hard-to-find Ref object error (when Ref::release is called on deallocated object)