Improve the module load error messages
Add check for duplicate modules on load