Small tweaks to debugging legends