added input/output/process/error to std eng main loop