Added Doxygen comments to main().