Add comments to demo app to explain what's happening