BUG: Fixed transform updates, improved non-linear copy, and added comments

Fixed transform updates by adding missing Start/EndTransformModify calls.

Improved the non-linear transform copy by copying both the ToParent and FromParent transforms (to avoid the need to recompute in the copied object).

Added comments everywhere where the code changes were not trivial.