Remove some unneeded printfs
Helper for cleanup
Some cleanup and add comments

Be more pedantic about resource deallocation.
Helpers cannot cause program exist, as fully compliant applications
must release GSS resources before exiting (such resources are permitted
to be non-local to the process).
Move globals up a level

Make the initiator/acceptor implementations take file descriptors
to read/write on, instead of hardcoding the global pipe file descriptors.