Adds more comments to resource_manager::register_manager in order to better explain what this function is doing.