Correct bug that causes bars of previous canvas to be displayed if a new tree is made
Clear some vars after rendering so they don't get pushed to again
Merge pull request #2 from nsh87/master

Prevent previous bar charts from showing in rerender