Seperated some functions in RunWithRecursiveJar. EOF is now handled correctly by RunWithRecursiveJar (meaning C^d correctly closes the kawa REPL when invoked through RWRJ).