Get rid of the DEBUG macro. Use procmon_xxx macros instead