Added a ton of interaction abilities.

Among the additions: copy graph data (select graph, right click)
Rename graph in legend (double click on name in legend)
Move legend (right click on legend)
Added copy image to clipboard functionality.
Added feature creep.

Added the ability for the legend rename to update the axis checkboxes.
Rearranged and commented the code.
Fixed sample speed when plot is running.
Added save functionality (to csv).
Fixed csv formatting.
Added sample feature.