Adding d-mode for dtrace, and misc changes.