fix #14148: export of nonsense chords

improved handling of "N.C." and other unparseable chords
fix for clef in middle of measure
Merge pull request #406 from MarcSabatella/14148-NC

fix #14148: handling of N.C.
fix for notehead alignment
protect against null dock in plugin creator