Handle dispose() correctly

Merged Alice Mikhaylenko requested to merge wip/exalm/dispose into master

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.

Merge request reports