Fix offset beat group beaming
Add more robust TextDynamics
Fixed lint errors.