Moved GL render plugin inside the main code.