Fixed a compiler warning dealing with a cast from a CALayer.  Also an issue with the leaf edge property being atomic.