Remove extraneous debug statements, fix deprecated render lines