Closed scanner and commented some dead code.