Codechanges inside some corefiles for reloading addons and reading directories.