Makes the demo compile and adds small fixes to sample captions

 - Add missing 'final'
 - Small formatting fixes to how sample captions are generated:
   - 3 D -> 3D, And -> and, With -> with, etc. (title case)
   - The Three D group is now named "3D"

Change-Id: I1f171be4a9bc5f3f24e9312fa25791aa278d8edc