bug isolated to Graphic constructor -ln 113, and the clearGraphics function -ln142. It doesn't crash consistently, which is troubling