adds a file comparator to determine the loading order of plugin files
improves encapsulation of TGIs and adds further TGI masks