various bug fixes; svg.py now runs