Opensocial map example trunk

This update/fix from Cody is ready for trunk. Thanks.