Better code organization, waitProcsDeath() documentation