If you write a program involving graphics and stick in in OK and then terminate the process while it's running from the GUI, you get a segfault (!!) Maybe related to #43 ?