Added framerate selector to the demo application.