switch docs to Doxygen-style, cleanups to start some sort of coding standard