Abandon the clever chord finding code and use as is for now.
Add a comment explaining that I'm unsure whether to set the depth and blending options there or in the material.