Reverted term.lua, new console, bugfix

Worked around dependency for event&term libraries from OpenOS
Made custom console with its own _ENV
Bugfix for parallel.exit()