Issue35

Fixed #35.

Note: I have not checked that this change works correctly when LZ is used from other apps like Aperture.
c.f. http://www.lightzoneproject.org/comment/1587#comment-1587