addition of svg output for debugging
some minor bug fixes on the test road