xml.lua: Removed unnecessary iterator over root
tablehelper.lua: More efficient table.concat