Further changes to the GPU thread.