Modified GLCHECK to know the command it's checking.