MainWindow: Save as startup-account if this is the last MainWindow

In contrast to the previous version where we saved the startup account
only if this is the last *window*, save the account if this is the last
MainWindow instance with a valid Account instance.