Couple of bugfixes/tweaks to example project.