Minor updates to GLIR.
Fixed case bug in draw mode.