Adding resource preload functions, improving number formatting performance