Add missing documentation to SharedArrayBasedDirectedNode, fix typos.

Hello,

I fixed some typos I noticed while reading the documentation.

Daeyun