FIX console thread output

FIX GUi crash