Renamed x to gluon in build.xml.
Refractored code in checkThreadWordParse().