Style tweaks, and fixing bug in example project.