changed: Use a member variable for the texture database to speedup thumb loading