Fixed fragment crashing when selected twice (or when returning to a
fragment that's already been used).  Refactored some names, tweaked some
XML.