OK, we need to add this gap adjustment for program streams. Previously it was done only for transport streams.
Here is a first attempt. Please test it with a bunch of files loaded and report back. It correctly deleted 2 AC3 frames when used on your set of three files.
http://neuron2.net/misc/DGIndexNV_morku.zip