Improved error handling for failure to select picture.