Fix regression w/ setup() / settings, return to shared ptr.
Add osx project files.