Fixed indentation.
Added image filtering by URL.
Added minor tweaks for imgur galleries.
Slight refactor of imgur gallery detection code