Changed doxygen settings and macro comments. Changed fprintf to fputs in TerminalLogHandler.