generateImages: improve error handling, error in one sample doesn't throw.
generateImages: improve error handling, error in one sample doesn't throw.

opensheetmusicdisplay/opensheetmusicdisplay,opensheetmusicdisplay/opensheetmusicdisplay,opensheetmusicdisplay/opensheetmusicdisplay