removing some test code from graphicsWidget