Note that there are still some parts missing compared to my old code. In particular, resource maps are still synchronous, so most games won't see a performance...