Unfold repeats directly
Clear ly dependency earlier

Keep object structure MusicXML generic.
More adjustments to the object structure
Adjustment to rest with position
Use copy function instead
Adjustments for chords
Reference pitch must be absolute