tried to fix bug.
think i made it wrose.
testing.
added FPS counter