improving SVG path command regex
commenting out debug messages