Fixed psearch_xml and added more fields to function get_search_list_no_stats()

get_display_name_internal() can be called statically so that it can be called from get_search_list_no_stats().

This probably needs to be tested a little bit before going to production.