Got 2D rendering sort of working.