fixes and qDebug() for 'GraphicsWidget'