Resource loading optimized with threads. Various font format support added.