Revert "Revert "Disable main window while sending out final part of delayed stream""

This reverts commit b664baa5b381785ae9846666798a4811df3e7988.