It complains about a lot of gloss maps right before quitting. Perhaps you could disable those somehow, in preferences.txt or the ingame options? I don't have time to check right now, but that could help.