SFML and MinGW fixes

These are just fixes for various problems I have encountered and fixed so far with GWEN.