Handle errors better.
Print all commands.