Update to 1.0.2, add a few sample app improvements