finally found a way to:

- run pyglet in an own thread (really)
- interrupt stdin.readline() to terminate the leap process without using the keyboard (os._exit(0))