Update menu-handling, etc.

Removed the "get_item_value" function, added the "get_buying_price",
"get_selling_price", "get_item_type_from_inventory_index",
"get_item_type_from_market_index", and "strcat_inventory_item_name"
functions, and made various modifications to existing code.