thread_manager.cpp/h:
- Created a basic way for threads to be tracked on whether they've exited gracefully

crypto.cpp/h:
- Minor indentification

parcel.cpp:
- Main app waits for threads to exit (which currently can basically hang the app forever, working on it)
- Added use of Josh's exit function to better clean up
- Moved free of pipes to below wait for threads
- Debug output

udpipe_client/server/threads:
- Using thread manager

All:
- Centralized exit from threads wherever possible