SSH Plugin:  Fixed some bugs related to background command execution (a few leftover references to 'tws' caused things to break).