Added extra debug lines to trace CSW and base_link assignment in updatelayers