Use boost program_options for command-line.
Fix dynamic time-stepping and file output.