Added some thread-safety to typeface caching, and optimised default font construction.