Make comments in main an init doxygen compatible

Fix typos where appropriate
Update license/copyright