Add option to output moving bc state to stdout or file. We need it to set initial state properly in order to make restart working.
In general, we should have a way to log things to files. Maybe search for existing logging solutions which works well for MPI applications and use one of those. There must exist some.