Fixed Renderer::clear() causing GL error. Some test code changes.