OSX support

very basic support for NSView and NSImage