Fixed compile error in GLExtensions.cpp, fixed a lot of warnings in numerous files.