DEBUG macro changed to extern bool
temp commit