Minor bug fixes addressing two issues:
1) Old state was not being passed to stdin. Now the output from the read/create is passed to stdin -- environment variables can still be read as normal.
2) If the read returns a corrupted state, then it would trigger a panic when trying to set output. Now it returns nil to prevent this from happening.
Minor bug fixes addressing two issues: 1) Old state was not being passed to stdin. Now the output from the read/create is passed to stdin -- environment variables can still be read as normal. 2) If the read returns a corrupted state, then it would trigger a panic when trying to set output. Now it returns nil to prevent this from happening.