Move SplPriorityQueue conversion code to renderer (2)