[FIX] Use assign and not weak for NSWindow.

weak doesn't work with NSWindow on 10.7