Stop timer before closing in gtk3GL.c