Port of the improved drawing system to gtk3