Improve the command log.

It now stores the state of the development at every step and shows the
exact command you typed.