Add a first example, integrating with the X11 event loop.