documented ViewerGL and VideoEngine
fixed lots of warnings on clang
fix warning on gcc
removed some warnings