Added a drawMode variable in App. Changing it can result in normal
drawing (fill), wireframe mode (line), or a point mode (point).