fixed dependency leak with global using
ensure that load_core_type always correctly creates the dependency (fixed EReg and Iterator dependency leak)
added notice if some modules leaked