Replace all typedefs by using statements.
Stop using gluErrorString as it is deprecated.