Added catch to ignore trees that have more than 5000 leaves. These trees won't display properly in the graph and were causing the script to hang for long periods of time.
Added user friendly status updates by printing which tree is being cached out of the total number of trees to cache.
Merge branch 'master' of https://github.com/lcoghill/graphtojson