Fixes to Guitar Pro 4 and 5 implementations.

This PR fixes ~1000 of the ~1100 failing GP4 tests I have, and all of the GP5 tests, so this should help quite a lot. GP3 tests are unaffected by these changes, I will look at those tomorrow.