better support for detail record's definitions with different file names
bugfix when parsing xml files. case insensitive
CThread support at module level