Fixed up some errors, and commented out headers to debug render.php