the bubble tree widget didn't work - made changes to have it work

When opened standalone the bubble tree widget didn't seem to work (aggregator is not loaded, yepnope not present etc.) made changes to make it work.