WIP: need to make draw() work (i.e. disable GLIR calls).