1. The dog was a problem because he grew to big for the flat.
2 Leif saw that Mariette was crowling on the ledge and the dog was following her.
3. The dog rescued the girl by carrying her in his teeth to the open window.
4 I think both: the girl is alive and the dog still lives in the flat.