Implemented line stippling according to OGL 1.1 and bug fixes.