Fixed typo in source comment.
Fixed doxygen comment in header.
Fixed typo in log message.
Changed two Java nested classes into static nested classes.

Both do not need an implicitly created reference to enclosing class.