move doxygen back over source
remove std usage
add workaround for coverity compiler
improve error messages, remove workaround for coverity