Added a histogram feature. Added other features. fixed some color scale problems.