Progress bar was showing in textmode when GUI was on