Added the overflow feature to the command history.

Now when over 100 commands have been entered, the oldest command
is discarded.