Implement a 3-level bucket structure for glyphs, to account for all possible Unicode values as of now. Patch initially by SF user SilverDirk and slightly reworked.