Tabs to spaces. Clean up line endings.
Better Cocoa error handling.
Update strength, atomicity order to match RZ style guide.