Added FPS detection to app.

FPS detection will be used to detect chug when I start adding more
complex beat detection algorithms.