committed by stehr: New methods getGaplessColumns and getLongestNonGappedRegion; fixed severe bug in old getGaplessColumns