Correct and extend Doxygen comments.
Correct some documentation errors for Doxygen and add more comments. Document some undefined variables with @FIXME.
Correct some documentation errors for Doxygen and add more comments. Document some undefined variables with @FIXME.