Cleanup in Depends decorator

Removed old code from python level module unloader, and added clearer debug log message