added support for multiple pictures, ESC to quit.