add setInputStream, setStdOut and setStdErr to Shell, avoid eager startup of Shell addon
build settings with provided inputstream, stdout and stderr
fix npe when starting shell