remove renderer and SDL functions