Implemented RenderUtil

Plus minor fixes, comments