added macros IDLE_DEBUG and DO_WAITCHAN, not sure where it should be defined when used, currently done in procflow.h, finished commenting/labeling idlebarrier code