Changed gl and shaderProgram global to global
Draw vertices (without colors) added.
Begin and End routines added to Painter (And removal of getGL and getShaderProgram)