Fixes whitespace in rendergl, minor fixes based on review