added command history

The animated gif needs updating but we should wait until things stabilize.
I changed it because the only use now is for errors but it could be for logs or any other use in the future.  It is literally just the command argument.   I couldn't think of any name for "markup added by calling package".  Maybe `markupReceived`?