Added #define flags at top of files to enable/disable interpretation, coalescing and logging