more debug logging in salvage.cs