lines reordered.
setBufferNumber is added.
printCommandArgs is simplified.
Lines are reordered.
setDot is added.
Tests are reordered.
Lines are reordered.