slight improvements to text mode