Image loading using MacOS X's native Cocoa APIs