Rework the OS X demo so that each view has its own list.
Check the last path component's extension in the OS X demo.