Fixed parsing command line arguments
Removing empty 'timestep' tags

Empty 'timestep' tags will get removed, their delay will
be added to the following timestep tag.
Print resulting XML document to outputfile