Updated to Xcode recommended project settings; fixed potential memory leak.