Handle dispose() correctly
There's no need to unparent widgets when the parent does it already. When using templates, there's no need to set the struct fields to NULL.
There's no need to unparent widgets when the parent does it already. When using templates, there's no need to set the struct fields to NULL.