Changed amount of sends from sdlInput and changed the read call in receive