Fixed some issue with corrgraph generation, and fixed issue with color assignment to blocks which caused nearby trees to often have similar colors