Minor fixes in _macosx.m

A couple warnings from clang: in one place it thinks an array is uninitialized, and a few resources don't get released. There are also a few warnings about missing [(super or self) init...] but I don't understand Cocoa sufficiently to know what to do about them.

Perhaps @mdehoon could review this?