Bug-fixes for svg path import (in progress)