fixes for PTY handling
CHANGELOG update for the PTY patch inclusion