Slightly abstract out x/y of svg lines
Get rid of null namespaces

I don't know why the original author used them and have been unwilling
to mess with them, but I think it's time.
JSLint-led code reorganization

also wrap setNodeDisplay slightly tighter