Implemented color map cutoffs at 3sd (#1542). 
Fixed some histogram bugs
Added new alignment parameter to TextRenderer