fixed bug in NSView sizing
added new NSImage module