Fixes #2 - close image when done with it.

https://github.com/tleyden/open-ocr/issues/2