Fix things. Flesh out the d3 backend a bit.