added more debug flags and fixed an error in from_package_reloaded caused when two lua files attempt to define the same module namespace.