gl.animate reinserted to launch mainloop