Fixed Jeff issue with no renwin for text files