OSX: Fixed window destruction (apparently)

[NSWindow close] does not seem to release its contentview if that has been
set by hand so lets just keep the pointer around and release it ourselves.