While demonstrating some of the code to my coworkers, I noticed some oddities in the code, so I've cleaned it up slightly.
It is mostly aimed at cleaning up tour_preprocess_page(), which will eventually consist of only calls to entity_query(), entity_load_multiple(), and entity_view_multiple().