Fix crashes when loading invalid sources (fix #2518)
Fix crashes when loading invalid sources (fix #2518)

Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber