Fixes bug with pretty_print truncation. Removes PHP 5.2 debugging code.