Merge the 3 ptys in 1
Make sure the process start in his own session and grabs the terminal
Cleanup pty variable names