gl objects are now automatically deleted