Fix up SDL2 frontend on windows and clean it up