Video Example Cleanup

Minor fixes to:
1. Check for NULL return values
2. Add better comments in the XML
Fixing comments and error messages

- fixing and clarifying comments
- fixing error messages in code