loader: clean up queue/shim_dict/named_dict after loading files