fix issue4819

- modify polygon render to exclude consectuvie points that are less than a pixel appart
- moved inner loop debug prints to level 3 and 4 since they where slowing down too much the code in debug

This allow to have good interactivity with highlighted polygons with over 75k vertices (http://www.faunalia.pt/downloads/test_slow_vector.zip).