SFML 2.1 Convertion, compiles, but still buggy