Add framerate counter to demo