added a max-random-nodes as a directory server configurable. d3.js beautifications.