tdg: cleaning.
sdl2: partiatial.