In the final, epic Boss Fight of v5.25, the heroes have overcome a major bug that -- for seemingly inexplicable reasons -- caused ReaScripts and even MIDI-related SWS actions** to mess up note lengths or even freeze REAPER completely:
ReaScripts turning non-overlapping notes into extended notes [ALL FIXED!]
These bugs may also have something to do with notes ending in Note-Ons with velocity=0, instead of normal Note-Offs:
Using MIDI_SetNote with noSort=true to move notes onto same pitch [SOLVED!]
SetNote Bug on Not Overlapping Notes? [FIXED!]
MIDI_Sort extends non-overlapping notes that end in Note-Ons with vel=0 [FIXED!]
This bug fix will certainly improve users' confidence in scripts, and will open the wonderful world of ReaPack to more users.
** Such as
SWS/BR: Enable "Ignore project tempo" for selected MIDI items and preserve time position of events (use tempo at item's start), which is essential for proper Timebase=Time editing of MIDI items.