Fixed doxygen warnings and markdown formatting.
Fixed warning about implicit boxing to Java Object.
Fixed warnings about unused local variables.