updates to app, from Pete Blois and myself