Rework the callback system in QT to make this easy, and avoid leaking window references that prevent the window from being GC-ed on close
Rework the callback system in QT to make this easy, and avoid leaking window references that prevent the window from being GC-ed on close