minor comment cleanup,　and attempt to fix ValueError in legend color calc.
minor comment cleanup,　and attempt to fix ValueError in legend color calc.

monkut/safecasttiles,monkut/safecasttiles,monkut/safecasttiles