Target 10.7, Apple doesn't support 10.6; Enable App Sandbox; Fix warnings