'Return an AccountFrame() corresponding to acc_name.
Note that the *control thread uses acc_name `None`.'

def getaccountframe(self, acc_name):

    with self.aflock:
        if (acc_name in self.accframes):
            return self.accframes[acc_name]
        self.accframes[acc_name] = CursesAccountFrame(self, acc_name)
        self.setupwindows(resize=True)
    return self.accframes[acc_name]
