Added debug flag to template compiler to suppress/unsuppress output.