cursor.addNote doesn't update internal segment reference
Cursor.addNote moves the input position of the score to the next segment but it doesn't update the segment reference of the Cursor.
For instance, when running createscore.qml plugin the method
Cursor.next() isn't needed since
addNote already moves the score to the next segment. Using
Cursor.next() creates unwanted rests inbetween notes.
Cursor.addNote leaves the attribute
cursor.tick to 0.