Switch embedded frameworks to @rpath.
Leak fix.
Minor typo in comment