Remove trigger_error() calls

There are better ways of handling issues. With this in place, the import will stop after the 4th image due tp notice that is thrown from one of these trigger_error() calls.
Merge pull request #13 from GaryJones/patch-1

Remove trigger_error() calls. Props @GaryJones