Bugfix: Revised/repaired SFML2 sample

Changed the code such that the SFML 2 sample is compatible with the
revised libraries of SFML2