add some more code for custom cell renderer. in particular in the finalizer of the object i call for the first time a c function that has been stored in a pointer