small svg render speedup for #7 by using display instead of visibility, but more improvements are needed.
random odds and ends that were not previously committed, hopefully they are useful