Set the name in the proxy session.
Minor fixes.