Fixed various Cocoa editing slip-ups.