Improvements for xterm.