Ensure that QGraphicScene's are parented by their QGraphicView's
Do final garbage collection in 2 steps to (hopefully) prevent the
QApplication object from getting deleted before the widgets.