cleanup restart mechanism,rename errors,add reposition tool, fix build of sdl (but still doesn't run)
add sdlroutines, fix sdlbackend, other things