Use unsafe_retained in place of weak, when storing references
to NSWindow subclasses.