Add 'echo' command.
Fix 'exit' function to close standard files.
Fix for error handling.
Specify const arguments.