Cleaning up the code so that it compiles. Also fixed the colors in
PitchColors - they are now averages of the 3 clicks rather than mins and
maxs