Given a travel related situation, and given a specific question about the situation, summarize the question into a title

[EX Q]: Whether traveling with a child or friend, especially in large crowds, should one take precautions to avoid losing someone?

I will be backpacking, so packing light is important; however, I still thought it would might be necessary for me to get something like a walkie talkie. I have even considered using a strap/buckle and attaching it to the other person. This sounds ridiculous, but losing someone would ruin a great portion of the trip.

[EX A]: How to avoid losing someone while traveling?

[EX Q]: I travelled alone in Japan for business, for 10 days. I declared that I bought items for $550,  well under the $800 limit. After my non-stop flight from Japan landed at YYZ, I was directed to secondary inspection at approx. 5 PM. The female CBSA (Canada Border Services Agency) officer inspected all my belongings and the receipts for my purchases. 

At 5:15, she started alleging that some other items (like clothing, 1 backup pair of eyeglasses, 1 pair of sunglasses) were bought in Japan, as they looked too new and clean to have been bought in Canada. Of course they did...I'm a business professional! But  they aren't that new in fact, and I bought them in Canada. 

I repeated that they were bought in Canada and were brought by me to Japan. She said that she didn't believe me. She  demanded proof that they were bought in Canada. I answered that I bought the clothing in Toronto and can't remember exactly where or when. I told her the name and approximate locations of some opticians that I remember. It feels unreasonable to expect weary travelers to remember details on the spot, without  records on hand.

She then got angry and rude. She said  that I was being evasive and warned me not to lie. She threatened to seize my items. She admonished that I, not she, had the onus of proving to her that I bought these items in Canada. 

At 5:45, I requested politely to speak to her supervisor. She asked why. I answered that I was a little jaded from being reasked the same questions and repeating the same answers for 30 minutes. She got  more offended and ruder, when she raised her voice to ask why I thought she was wasting my time and asking irrelevant questions. I answered that I never said this at all. She said that I don't need a supervisor, if I had nothing to hide. 

At 6, I reiterated my request for a supervisor, and she bitterly told me to be patient. At 6:20, a supervisor showed up, and we repeated the same questions before I was allowed to leave at 6:45. 

In all, I spent 105 minutes in secondary inspection. My tone was always deferential and polite. 


What can be done in the future, to avoid this kind of wrangle, and waste of time? What could I have done better? 

I don't intend to complain against her...I'm too frightened of retaliation and being black-listed.  
Has this wrangle has already put me on some list and blemished my CBSA records?


[EX A]: How do I stop a CBSA officer from wasting my time, by falsely alleging that some of my items weren't bought in Canada?

[EX Q]: I have booked tickets from Germany to Uruguay.

The major Airline for the trip is KLM.
There is a stop at Brazil's Sao Paolo GRU airport from where I have a flight to Montevideo. This particular flight is undertaken by GOL Transportes Aereos. The connection is shown below:



The flight number is KL9264 which falls under KLM but I am anxious to know if this is a single ticket or not.

Reason

I have an Indian Passport, and I cross checked with the Brazillian Embassy in India on whether I need a Transit Visa in Brazil. Their reply was the following:


  Travelers transiting through Brazilian airports to other countries, whenever the onward flight is booked under a separate ticket and/or different code need to have a transit visa.


Does the connection mentioned above constitute a Single ticket? As was the question previously asked On Expedia How Can I Tell if A Flight on Multiple Airlines is a single ticket or not, the accepted answer came only after the OP had traveled and not beforehand.

[EX A]:
Are flights undertaken by GOL Transportes Aereos via KLM considered to be a single ticket / booking?