Add logging to Pen.

Pen.log() can now give you back exactly what commands were put into it.