cleanout commented-out code
Fixed to abort on scanf fail

otherwise got caught in an infinte loop  on bad input.
Added SOS example script