Initial work on rendering CGM.