Remove NSWindow notifications code block