Added support for imgur-albums. Minor code cleanup.