added clickable legend items for scatter plots.

also removed a debug output message and reduced number of colors to 14 for better distinguishability.
Merge branch 'feature-21-legend' into develop. Fixes #21.