1. When you change the owner of an object to a particular player, don't
   do:

    set thing.owner to player

  instead do:

    set thing.owner to player.owner

2. Watch out for objects with no $name.