updated imageNamed method

incorrect parameter name
removed NSPathControl