Working SFML base code