Some bugfixing in graphicsControl