changed: Make FillThumb non-static so it benefits from the texturedatabase class member