This is polluting the method with a lot of mutability. Encapsulating the creation of the object(s) being assigned into `self.windowControllersByFrame` and `self.windowControllerDispatcher` would be a lot safer. Maybe some blocks?