Added DEBUG block for code parts that are only required in debug mode.
Added DEBUG block for code parts that are only required in debug mode.

stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight,stelgenhof/AiLight