Improved Gettext load and fixed problem with Api->getXML when is a not valid XML string.