Move some favorite local settings to global
Remove some unused functions