Changed Unit XML parsing code to use StringUtil for parsing Owner index.