Teev qt

merge non-blocking IO patch into master