added NSRect structure
added CGImageForProposedRectContextHints

converts NSImage to CGImageRef
modified NSWorkspace