fixed ImageNamed shared method

the Mac OS X code was commented out
updated to 2014r2.1 format
fixed memory issue

now retains/releases (hopefully properly)