Exhibition looks at genius of Brooklyn carousel inventor