Fixes issues #103 and #97. Also fixed a bug on WAS colors, some improvements in colorscale generation.