Examples now use close.

Also streamlined Activity and example app names so they are more consistent. 
the same realm variable could be used for all three.