fixed gameloop

uses sf::sleep() to minimize cpu usage.
sleeptime needs to be finetuned during development