Osx support

very basic support for NSView and NSImage