Efficiency improvements by saving/restoring the state of the QPainter in the layer.
Efficiency improvements when adding/removing multiple geometries to a layer.