Adding debug code to profile template rendering mechanism. Starting to look at print vs echo & newlines