Foreach works to the extent that the block production is preventing it from compiling, not the first line.

It will take some time to find out where. In the meantime, I have updated Note.java to print the write duration for a whole note, and I don't remember what I did to BinaryOperator.