Assume that a process doesn't exist or has exited if a call to waitpid fails.
Renamed 'environment' to 'configuration'.
Removed a bunch of unnecessary includes.
Implemented 'env' command.
Include basic CFLAGS/CXXFLAGS/LDFLAGS in env.