Batch combiner bug fixes.
Detect attempts to add a batch to a group/frame twice in debug builds.