Wizard bug fixes

Fixes #1332
Fixes #1333 
```
QWidget *w = new QWidget();
    QTimer *t = new QTimer(w);
    delete w;
    t->start(1000);
```
Try this and you will get a segfault, you don't delete "t" manually but it gets destroyed when you delete it's parent "w".