Gets everything working again under the refactored graphics pipeline. Next step: remove the priority from graphics pipeline elements, plus some renaming.