Beef up app_props.in and tidy app.cpp.