Doc fix and typo fix.
Menu fix.
Small cleanup.
Refine library headers.
Merge pull request #54 from xfq/master

Some minor fixes.