Thanks to an IRC conversation, I discovered the reason for it closing. Its because there are spaces in the filename(s) of the image/directory(ies) containing the images. Also, an image flickers when when I try to zoom in/out and after doing it a few times, PIV crashes.