addElem simplification
setSLinePlacement simplification
use handleSpannerStart and ...Stop for pedal handling
use handleSpannerStart and ...Stop for hairpin handling
further simplification of direction handling
improved pedal handling, partially fixing #17507
fix #28341
fix #30661: last note of tuplet shortened on paste
Merge pull request #1212 from lvinken/musicxml-fixes

Musicxml fixes
Merge pull request #1214 from MarcSabatella/30661-triplet-copy

fix #30661: last note of tuplet shortened on paste
fix some pre-translation issues
remove/comment some unused variables