Fixed memory pool bug.
Documentation work.