Minor bug fixes to example app.