finally a working FPS-Counter