Added UpdateWindowSharedSurface, which seems to help with some of the deadlocks that happened with some windows. Still just black textures though.