First part of the update to the latest Caustic.
The rendering working, but we probably want to adapt some minor changes
from Spoutcraft/Clinet aea6949