Init render_gl in constructor.
Fixed deallication of shader buffers.