Added limit for number of gaps, gaps counting. First tries of text retriving from third sources.