Preventing out of memory problems with corrupt MIDI files
integer indices
Fixed edge case in synthesis array allocation