Check if renderer is null in wrapAllGLViews
Minor formatting in wrapAllGLViews