added some new functions from CSFML HEAD
Fixed examples/particles