made exception handling and debug info in module unloading/reloading/handling better