Added the option during batch-write to skip or re-try when a write error is encountered
Added "applicationShouldTerminateAfterLastWindowClosed" to AppDelegate
Merge remote-tracking branch 'origin/master'