Made sure that you are allowed to unload libraries, as long as they are unloaded in the correct order.