Making notation, midi, and parts is now working. A bunch of other unrelated noodling is in this commit.