Xml file layout fixed J 1.5
Changed how AdvancedParam works, to not have problems with long variables.