make windowcache concurrent for max 1 thread
make client surface creation inline