added framerate to game loop to stop my CPU from crying