Some Doxygen comments and small cleanups.
Merge pull request #727 from dawnbreak/docu

Some Doxygen comments and small cleanups.