Using Qt::WA_DeleteOnClose to simplify freeing the display windows