core._needTree replaced by core.state.dependencyTree
core._files replaced by core.state.resolvedFileList also removed group's _needTree and replaced with state.dependencyTree
core._exportOrder is not core.state.pmiFileOrder. NOTE: required changes to export-driver.js
replaced core._groupNames with core.state.declaredGroups
_groupsRDeps now core.state['groupsInTLC']
uglifyFiles now core.state['pmiFilesSelectedForExport']
uglifyMode found to be unused and removed
compressedMode flag found unused and removed
hasRemotes moved to flags['hasRemotes']
exportInitiated moved to flags['exportInitiated']
_modules moved to core.state['modules']
_cache moved to core.state['cache']