Some small changes based on Apple Sample Code
Merge pull request #7 from jstart/master

Some small changes based on Apple Sample Code