Started tidying up sys/sdl