Skeleton of new shared GPU files.
Initial refactoring of gpu/.
Runs too fast - now there are ringbuffer wrapping issues.
Disabling paged resource caching for now, as it's broken.
Caching states.
Fiddling with interrupt triggering - still not right.