Mac OS X HIP Installer Support

Lots of little fixes, readability improvements (to output text and errors, I mean), considerably better error handling and proper POSIX process termination, and several simplifications also lumped-in with the commits.