Replaced "path" boot command with generic "set" command for setting environment variables.
Open files for input/output only as needed.
Create temporary files in temp path.
Ensure temporary file is wiped before use.
Renamed terminal device.
Set STDERR evnironment variable.