fixing polyline & draw properties caching, cleanup stacks, cosmetics