Added CS1_DEBUG flag and fixed outputting in gnd_main.c