Minor changes to the demo

 - FPS now only displays to two decimal places
 - App exits when the window is closed