added command history

The animated gif needs updating but we should wait until things stabilize.
I don't understand.  What comment block?  I have no comments.  What is a "doc comment"?  You need to show me.