Added support for wide lines and line stipple. Test version.