made text scale with buffer size and added a FPS counter

made text scale with buffer size and added an FPS counter