Optimisations
- Settings cache, gives about 8x speedup to accessing properties, especially important in large syncs but also when reading options while rendering PR cells
- Simplified settings & app delegate singletons into global variables, since their lifetime matches the app’s.  It makes the code clearer, also makes method dispatches to them about 10% faster too