Sort out use of memory_mapping in load_selected.