fixes #1 #2 setText no longer breaks in non-svg rendering mode. setText no longer breaks if Polyline not yet added to a map