- Further changes to issues that came to light after pull #3
- More changes after RB's reviews.
Merge pull request #4 from matthew-andrews/master

Ensure that event listeners are removed from a previous root node when changing root