Clearer variable name
Stop before if no header
Chords as grace notes
Added check if score is empty