Initial staff barline joining
Replaced old staff system detection
Fix out of bounds caused by uint comparison
OpenCL 1.0 compatibility
Merge branch 'master' into barlines
Fixed barline joining
Actually initialize longest_inds