Fix [#40] and [#41] at the same time.  Now using rectangles to denote
snps in probes and snps in cpgs, and renamed index to legends.