Remove println
Check locales once
Use TMXParseException when uploaded TMX is invalid