Command backend made more robust. D3 updating is broken, though.