[R3D] Added Polyline drawing
[R2D] Misc changes