fixed caching bug and related issues


I've also noticed that in CB code it is cache_image=False  so I've reset the GenericImage default's to False. ;)

It looks like it's working well now.


Not sure I understand what you mean. blabla = [] assigns a new list to the variable blabla, while blabla[:] = [] retains the old list object but removes all the elements in it. In either case all the elements are garbage collected but your operation is a) slower and b) the object continues to be shared, which could potentially lead to weird side-effects.