Print statements and other profiling minor changes