Added DMA2D debug checks switch option