Fixes access violation exceptions caused by trying to delete the char * held in the image in SDL_FreeSurface
Reorganized and reordered the SetIcon and CreateIcon