have you tried in a new file to set 'no backgound' and deleting any layers that do not have any images on them, i would think then when it merges them all, whatever was not an image, would have no information and be transparent, just guessing though.