CSync: Remove dead code
OS X: Remove dead JSON code
OS X Overlay Icons: Fix static analyzer warnings