TS-2431 Fix compiler warnings, and eliminate unnecessary \n
Remove unnecessary debug statements