code clean up; fix warning; add popup; update sdl2_gfx