About to add comments
Ver 2.1

Some cleaning up, commenting, added clear all button and made the chart
not break if there is no data loaded yet.
Ver 2.1

forgot to blank it out before committing