Add CoreSettings
Create CoreSettings and use them for most instance that will improve client performance
Update most time-critical (expensive) functions to use g_core_settings