workaround for crashing after monitor disconnects in Qt5+, this can now be built with Qt4+ which does not have that bug.  Had to add eventFilter for puttywidget to capture the event for a new winId and set the putty session to that handle