Build fixes for OSX
More OSX build fixes
backport the ability to export a sheet as multiple tracks, split by markers
more OSX compile fixes