ensure tools.jar is on the classpath
fix profile activation check
fix userFromXml, perserve status
fix userFromXml, perserve status