some steps to make tile cache in indexedDB work - tiles don't paint correctly now...