Corrected bug that caused DEBUG messages to remain.