more debugging in det_full_module_name
correct loading of toolchain and dependency modules in toolchain.prepare()