Added the ability to retrieve slot name and value from gear_get_slots and gear_get_globals.