Added a handle to output/error streams; updated jsui files.