Adjusted profile gif search

Changed the way gifs loaded, made a slight adjustment to alerts when
saving gifs, refactored a tiny bit of code in the profile search
section.