popups on paths and big improvements in svg primitives