Fixed various warnings, some doxygen specs