updated to the last sfml snapshot (why the heck did he change the name of some functions???)