Next to last chapter in this book...

In this sentence, I'm not sure about the last word: Майя вышла замуж за Андрею Шаховского (the nominative is Шаховскои)

In this sentence: Я Маше звонила, но её не было, the second half of the sentence I don't understand grammatically. Is её in the genitive case because of не было? Why is было neuter? Could you also say, но она не была, or is that incorrect?

Another exercise choosing imperfective/perfective aspect.

(по)прощаться

Друзья долго (said goodbye).
Is it попрощались?

Как только я (say goodbye) с Николаевыми, я тебя подвезу домой.
Is it попрощаюсь?

Thanks for any help,
Z