D3ize

unfinished: uses d3 for more of the UI, improves perf a bit by debouncing location.hash.