move the sdl window icon pointer into the libbase. check if the allocation fails...