Fix interactive jails with jexecd/rexec where TTY is needed.
Fix leftover detection with jexecd (probably pointless anyway)