FIX: Fix Qt cleanup
Merge pull request #230 from Eric89GXL/fix-qt

This looks good for now, but ultimately we should avoid using \__del__ wherever possible, because it interferes with the garbage collector and may lead to leaked memory. I read somewhere that the delete-detection capability of weakref can be used for this purpose..