Fixed a bunch of errors/warnings doxygen was spitting out

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>