Fix #22128 - Handled failing slur case (issue comment #5) and did a little refactoring on related code
Merge pull request #1040 from jpirie/22128-slurs

Handles final slur case in GP4/GP5 files.