Improve glider example.