More refactoring of FloodFillPaths, add SDL_GL_SWAP_CONTROL flag setting (wish I saw this earlier!)