Wizard bug fixes

Fixes #1332
Fixes #1333 
OK thank you for showing me that. Looks like you are right and I learned something important about At. This is also interesting: http://qt-project.org/doc/qt-5/qobject.html#dtor.QObject

It seems that delete later is something we should use more.