Program now only accepts valid image filetypes. Also expanded inline documentation.