Move the CCA barplot to a separate file.
Better logging for the CCA scatterplot.
Use standard event handling for the CCA barplot.