Added unloadAllTextures and deleteAllBuffers