cleanup, and fix crash in settings window
git-svn-id: svn://pulkomandy.tk/GrafX2/branches/sdl2@2178 416bcca6-2ee7-4201-b75f-2eb2f807beb1