-removed leftover event listeners on process.stdin causing errors
-fixes to install script running without exiting prematurely