Re: If MS loses
"There will be this brand new country with no treaties"
IANAL but I suspect (*) that simply isn't true. A company can't walk away from a contract it doesn't like by transferring ownership to someone who didn't sign on the dotted line. Equally, I suspect that Scotland is under all the treaty obligations of the rUK and will enjoy all the benefits of those treaties as well until and unless all parties to the original treaties agree differently. Anything else would just be a get-out-of-jail-free card for a sovereign state that wanted to be shot of its own history. (There are several debt-ridden countries who'd like that, but as Argentina are demonstrating on a daily basis, the rest of the world isn't so keen.)
(*) Of course, if this were a sane referendum, voters would actually know the answers to these questions before they voted. But that's getting a little off-topic...